package com.trainoo.novel.model;

import java.util.List;

/**
 * Created by Administrator on 2018/8/18.
 */
public class Book {

    private String bookDesc;  //图书介绍
    private String authName;  //作者
    private String bookUrl;   //图书详情页链接
    private String newUrl;    //最新章节
    private String newName;   //最新章节名称

    // 主要填充以下3个属性
    private String bookName;  //书名
    private String mainInfo;
    private List<Chapter> chapters;

    public String getBookDesc() {
        return bookDesc;
    }

    public void setBookDesc(String bookDesc) {
        this.bookDesc = bookDesc;
    }

    public String getAuthName() {
        return authName;
    }

    public void setAuthName(String authName) {
        this.authName = authName;
    }

    public String getBookUrl() {
        return bookUrl;
    }

    public void setBookUrl(String bookUrl) {
        this.bookUrl = bookUrl;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getNewUrl() {
        return newUrl;
    }

    public void setNewUrl(String newUrl) {
        this.newUrl = newUrl;
    }

    public String getNewName() {
        return newName;
    }

    public void setNewName(String newName) {
        this.newName = newName;
    }

    public String getMainInfo() {
        return mainInfo;
    }

    public void setMainInfo(String mainInfo) {
        this.mainInfo = mainInfo;
    }

    public List<Chapter> getChapters() {
        return chapters;
    }

    public void setChapters(List<Chapter> chapters) {
        this.chapters = chapters;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookDesc='" + bookDesc + '\'' +
                ", authName='" + authName + '\'' +
                ", bookUrl='" + bookUrl + '\'' +
                ", bookName='" + bookName + '\'' +
                ", newUrl='" + newUrl + '\'' +
                ", newName='" + newName + '\'' +
                ", mainInfo='" + mainInfo + '\'' +
                ", chapters=" + chapters +
                '}';
    }
}
